package com.lmb.bean;

import java.math.BigDecimal;

/**
 * 用于存储各类比例数据的实体类
 */
public class RatioData {
    private String type;        // 类型名称
    private Integer count;      // 数量
    private BigDecimal percentage;  // 百分比
    
    // 构造方法
    public RatioData() {}
    
    public RatioData(String type, Integer count, BigDecimal percentage) {
        this.type = type;
        this.count = count;
        this.percentage = percentage;
    }
    
    // getter和setter方法
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public Integer getCount() {
        return count;
    }
    
    public void setCount(Integer count) {
        this.count = count;
    }
    
    public BigDecimal getPercentage() {
        return percentage;
    }
    
    public void setPercentage(BigDecimal percentage) {
        this.percentage = percentage;
    }
}
    